package xcmg.device.dao.mapper.ratingManager;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import xcmg.device.dao.entity.ratingManager.SalesCompleteConfigDO;
import xcmg.device.service.vo.ratingManager.BasisQueryVO;

import java.util.List;

@Mapper
@Repository
public interface SalesCompleteConfigDOMapper {
    int deleteByPrimaryKey(String id);

    int insert(SalesCompleteConfigDO record);

    int insertSelective(SalesCompleteConfigDO record);

    SalesCompleteConfigDO selectByPrimaryKey(String id);

    List<SalesCompleteConfigDO> selectByRatingId(BasisQueryVO baiscQueryVO);

    int updateByPrimaryKeySelective(SalesCompleteConfigDO record);

    int updateByPrimaryKey(SalesCompleteConfigDO record);

    int countByRatingIdClientId(@Param("ratingId") String ratingId,@Param("clientId") String clientId);
}